package com.lry.crawlers.fiction.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("fiction")
public class Fiction {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String fictionId;
    private String title;
    private String descs;
    private String cover;
    private String author;
    private String fictionType;
    private String updateTime;
    private Date creationTime;
    private Integer fictionVariableId;


    public Fiction(String fictionId,String updateTime){
        this.fictionId = fictionId;
        this.updateTime = updateTime;
    }

}
